package ooday02.demo.practice02;

public class Test {
    public static void main(String[] args) {
        Student zs=new Student("张三",20,"碧桂园","jsd2307","001");
        zs.study();
        zs.sayHi();
        zs.eat();
        zs.slee();
        zs.play();

        Teacher cxk=new Teacher("cxk",20,"碧桂园",3000);
        cxk.sayHi();
        cxk.eat();
        cxk.slee();
        cxk.teach();

        Doctor wyf=new Doctor("wyf",20,"铜锣湾","主任");{
         wyf.cut();
         wyf.sayHi();
         wyf.eat();
         wyf.slee();
        }
    }
}
